
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@page language="java"%>


<section>
	<div class="main">
		<div class="account-login">
			<div class="content">

				<h2>Thông Tin Đăng Kí</h2>

				<form action="admineditproduct.do" method="post"
					accept-charset="utf-8">
					<ul class="form-list">
						<li><label class="required" for="username">ID<em>*</em>
						</label>
							<div class="input-box">
								<input name="id" type="text" title="Tên Đăng Nhập"
									class="input-text required-entry" value="${product.idproduct}"
									readonly="readonly" />
							</div>
							<div class="clear"></div></li>
						<li><label class="required" for="username">Product
								Name<em>*</em>
						</label>
							<div class="input-box">
								<input name="product" type="text" title="Tên Đăng Nhập"
									class="input-text required-entry"
									value="${product.productname}" readonly="readonly" />
							</div>
							<div class="clear"></div></li>
						<li><label class="required" for="repassword">Catalog<em>*</em>
						</label> <!-- 							<div class="input-box"> --> <select
							class="sumup_desgin_select" name="idcatogory">
								<option value="0">All</option>
								<c:forEach var="p" items="${catalogs}">
									<option value="${p.idcatalog}">${p.catalogname}</option>
								</c:forEach>
						</select> <!-- 							</div> -->
							<div class="clear"></div></li>
						<li><label class="required" for="password">Details<em>*</em></label>
							<div class="input-box">
								<input name="detail" type="text"
									class="input-text required-entry"
									value="${product.productdetail.detail}" />
							</div>
							<div class="clear"></div></li>
						<li><label class="required" for="repassword">Price<em>*</em>
						</label>
							<div class="input-box">
								<input name="price" type="text"
									class="input-text required-entry" value="${product.price}" />
							</div>
							<div class="clear"></div></li>
						<li><label class="required" for="repassword">Link<em>*</em>
						</label>
							<div class="input-box">
								<input name="link" type="text" class="input-text required-entry"
									value="${product.linkImage}" />
							</div>
							<div class="clear"></div></li>

						<li><label class="required" for="repassword">Quantity<em>*</em>
						</label>
							<div class="input-box">
								<input name="quantity" type="text"
									class="input-text required-entry" value="${product.quantity}" />
							</div>
							<div class="clear"></div></li>
							<li><label class="required" for="repassword">Promotion<em>*</em>
						</label> <!-- 							<div class="input-box"> --> <select
							class="sumup_desgin_select" name="idpromotion">
								<c:forEach var="p" items="${promotions}">
									<option value="${p.idpromtion}">${p.discount}%</option>
								</c:forEach>
						</select> <!-- 							</div> -->
							<div class="clear"></div></li>
						<!-- 						Cho nay hien thong bao loi khi tai khoan hoac mat khau khong hop le -->
						<%-- 						<c:if test="${error != null}"> --%>
						<!-- 							<br /> -->
						<%-- 							<h4>Error: ${error}</h4> --%>
						<%-- 						</c:if> --%>

						<!-- 						<br /> -->
						<!-- 						Dang ki thong tin them -->
						<!-- 						<h3 class="subcontent">Thông Tin Cá Nhân</h3> -->
						<!-- 						<li><label class="required" for="birthday">Ngày sinh<em></em></label> -->
						<!-- 							<div class="input-box"> -->
						<!-- 								<input name="birthday" type="text" -->
						<!-- 									class="input-text required-entry" value="" -->
						<!-- 									placeholder="25/08/1991" /> -->
						<!-- 							</div> -->
						<!-- 							<div class="clear"></div></li> -->

						<!-- 						<li><label class="required" for="sex">Giới Tính<em></em></label> -->
						<!-- 							<div class="input-box"> -->
						<!-- 								<input name="sex" type="text" class="input-text required-entry" -->
						<!-- 									value="" placeholder="Nam" /> -->
						<!-- 							</div> -->
						<!-- 							<div class="clear"></div></li> -->

						<!-- 						<li><label class="required" for="email">Email<em></em></label> -->
						<!-- 							<div class="input-box"> -->
						<!-- 								<input name="email" type="text" -->
						<!-- 									class="input-text required-entry" value="" -->
						<!-- 									placeholder="hoangtu250891@gmail.com" /> -->
						<!-- 							</div> -->
						<!-- 							<div class="clear"></div></li> -->

						<!-- 						<li><label class="required" for="phonenumber">Số -->
						<!-- 								điện thoại<em></em> -->
						<!-- 						</label> -->
						<!-- 							<div class="input-box"> -->
						<!-- 								<input name="phonenumber" type="text" -->
						<!-- 									class="input-text required-entry" value="" -->
						<!-- 									placeholder="01673405054" /> -->
						<!-- 							</div> -->
						<!-- 							<div class="clear"></div></li> -->
						<br />
						<li><label class="required" for="btnSignup"><em></em></label>
							<div class="input-box">
								<input type="hidden" name="action" value="Signup" /> <input
									class="colors-btn" name="btnSignup" type="submit"
									value="Cập Nhật" />
							</div>
							<div class="clear"></div></li>
					</ul>
				</form>
			</div>
		</div>
	</div>
</section>
